package com.lang.dao;

import com.lang.entity.Cart;

import java.util.List;

/*
 * @Date : 2024/3/13 16:12
 * @Created by Lang
 * @ProjectName : LclShop
 */
public interface CartDao {
    Cart getCartByUidAndPid(int uId, String pid);

    int updateCart(Cart cart);

    int createCart(Cart cart);

    List<Cart> getCarts(int uid);

    int clearCart(int uid);

    int deleteCart(String cid);

    int deleteCartByUid(String id);
}
